using System;

namespace Lookstone.Data.SQLite
{
	/// <summary>
	/// Summary description for SQLiteInt64Key.
	/// </summary>
	public abstract class SQLiteInt64Key : SQLiteKeyBase<long>
	{
		#region /***** Constructors *****/
		public SQLiteInt64Key()
			: base() { }

		public SQLiteInt64Key(SQLiteConnectionContext context, long id)
			: base(context, id) { }

		public SQLiteInt64Key(RowReader reader)
			: base(reader) { }
		#endregion /***** Constructors *****/

		#region //****** Methods ******//
		protected override void StoreSaveInfo(RowReader reader)
		{
			InternalID = reader.GetField<long>(0);
		}
		#endregion //****** Methods ******//
	}
}